.mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, .5);
}
.dialog {
  position: fixed;
  z-index: 9;
  top: 150px;
  left: 50%;
  margin-left: -215px;
  padding: 20px 15px;
  width: 400px;
  border-radius: 5px;
  border: 1px solid #eee;
  background-color: #fff;
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    span:nth-child(1) {
      font-size: 18px;
      color: #333;
    }
    span:nth-child(2) {
      display: inline-block;
      width: 18px;
      height: 18px;
      text-align: center;
      line-height: 15px;
      border-radius: 50%;
      border: 1px solid #e0e0e0;
      cursor: pointer;
      &:hover {
        background-color: red;
        color: #fff;
      }
    }
  }
  .content {
    margin: 15px 0;
    font-size: 14px;
    color: #666;
  }
  .footer {
    display: flex;
    justify-content: flex-end;
    span {
      display: inline-block;
      padding: 5px 10px;
      border-radius: 5px;
      border: 1px solid #ddd;
      color: #444;
      font-size: 12px;
      margin-right: 15px;
      cursor: pointer;
    }
    .operation {
      background-color: skyblue;
      color: #fff;
    }
  }
}